package com.wms.service;

import com.wms.entity.ResourceAuthority;

import java.util.List;

public interface ResourceAuthorityService extends BaseService<ResourceAuthority> {
    void delete(ResourceAuthority resourceAuthority);

    Boolean exist(ResourceAuthority resourceAuthority);

    void deleteByAuthorityId(Long authorityId);

    void deleteByAuthorityIds(List<Long> authorityIds);

    List<Long> findAuthorityIdByResourceId(Long resourceId);
}
